package com.example.theadadmin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

/**
 * <p>
 *
 * </p>
 *
 * @author 王东
 * @since 2024-09-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private Integer age;

    private String sex;

    private String address;

    private String phone;

    private String idCard;
    @JsonProperty(value = "cUser")
    private String cUser;
    @JsonProperty(value = "cTime")
    private LocalDateTime cTime;
    @JsonProperty(value = "uUser")
    private String uUser;
    @JsonProperty(value = "uTime")
    private LocalDateTime uTime;

    private String username;

    private String password;

    private String token;

    private String email;
}
